package com.sy;

import com.sbring.SbringApplicationContext;
import com.sy.service.UserService;

public class Run {
    public static void main(String[] args) {

        SbringApplicationContext applicationContext = new SbringApplicationContext(AppConfig.class);
        UserService userService = (UserService) applicationContext.getBean("userService");
        System.out.println(userService);
        userService.test();
    }
}
